/* 基础样式 */
.address-container {
  position: relative;
  height: 100vh;
  background-color: #f7f7f7;
}

.address-scroll {
  height: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
}

/* 卡片样式 */
.address-card {
  margin-bottom: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
}

.card-content {
  flex: 1;
  padding-right: 10px;
}

.name-phone {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.name {
  font-size: 15px;
  font-weight: bold;
  margin-right: 10px;
  color: #333;
}

.phone {
  font-size: 13px;
  color: #666;
}

.address-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 2px;
}

.address-detail {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.card-actions {
  display: flex;
  align-items: center;
  padding-top: 2px;
}

.action-gap {
  width: 16px;
  display: inline-block;
}

/* 底部占位 */
.bottom-placeholder {
  height: 80px;
}

/* 悬浮按钮 */
.floating-add-btn {
  position: fixed;
  bottom: 20px;
  left: 12px;
  right: 12px;
  z-index: 99;
}

.floating-add-btn .van-button {
  box-shadow: 0 2px 8px rgba(25, 137, 250, 0.3);
}

/* 弹窗样式 */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  background-color: #fff;
  border-radius: 12px;
  z-index: 101;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.modal-body {
  padding: 12px 16px;
  flex: 1;
  overflow-y: auto;
}

.modal-body .van-field {
  padding: 8px 0;
}

.modal-body .van-field__label {
  width: 80px;
  color: #666;
}

.modal-body .van-field__control {
  font-size: 14px;
}

.modal-footer {
  padding: 0 16px 16px;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-buttons .van-button {
  flex: 1;
  max-width: 120px;
}